package com.yl.auth.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yl.auth.entity.Xuetang;
import com.yl.auth.mapper.XuetangMapper;
import com.yl.auth.mapper.XueyaMapper;
import com.yl.auth.model.vo.XuetangVo;
import com.yl.auth.model.vo.XueyaVo;
import com.yl.auth.service.XuetangService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ln
 * @since 2023-06-19
 */
@Service
public class XuetangServiceImpl extends ServiceImpl<XuetangMapper, Xuetang> implements XuetangService {
    @Resource
    private XuetangMapper xuetangMapper;

    @Override
    public IPage<XuetangVo> findAllPage(Page<XuetangVo> pageParam, XuetangVo xuetangVo) {
        IPage<XuetangVo> page = xuetangMapper.findAllPage(pageParam, xuetangVo);
        return page;
    }
}
